amd-iov: eliminate open-coded PCI bus scan
authorKeir Fraser <keir@xen.org>
Tue, 14 Dec 2010 09:53:41 +0000 (09:53 +0000)
committerKeir Fraser <keir@xen.org>
Tue, 14 Dec 2010 09:53:41 +0000 (09:53 +0000)
commitae33959c12092e3b9cc6a72a79722b942ad725f6
treece14b7d22f3ef0c974c7c19503f9e38572386ff2
parent3bc257c211c341a39cc25d93e2058f6f78c347a4
amd-iov: eliminate open-coded PCI bus scan

Instead, use scan_pci_devices() just like VT-d does. This at once
allows making {alloc,free}_pdev() static.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/pci.c
xen/include/xen/pci.h